package com.ruoyi.item.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 赛道管理对象 item_category
 * 
 * @author ruoyi
 * @date 2022-03-14
 */
public class ItemCategory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 赛道id
 */
    private Long categoryId;

    /** 赛道父id */
    @Excel(name = "赛道父id")
    private Long parentId;

    /** 赛道名称 */
    @Excel(name = "赛道名称")
    private String categoryName;

    /** 赛道负责人 */
    @Excel(name = "赛道负责人")
    private String categoryLeader;

    /** 假删除判定值0：删除1：未删除 */
    private Long delFlag;

    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }
    public void setParentId(Long parentId) 
    {
        this.parentId = parentId;
    }

    public Long getParentId() 
    {
        return parentId;
    }
    public void setCategoryName(String categoryName) 
    {
        this.categoryName = categoryName;
    }

    public String getCategoryName() 
    {
        return categoryName;
    }
    public void setCategoryLeader(String categoryLeader) 
    {
        this.categoryLeader = categoryLeader;
    }

    public String getCategoryLeader() 
    {
        return categoryLeader;
    }
    public void setDelFlag(Long delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("categoryId", getCategoryId())
            .append("parentId", getParentId())
            .append("categoryName", getCategoryName())
            .append("categoryLeader", getCategoryLeader())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
